package com.icongyou.enterprise.talent_analysis.entity;

import lombok.Data;

import java.time.LocalDateTime;

/**
 * 画像更新任务队列
 */
@Data
public class PortraitUpdateTask {
    private String id;
    private String studentId;
    private String templateId;  // null表示默认模板
    private String triggerType;  // DATA_CHANGE, TEMPLATE_CHANGE
    private String triggerSource;  // submission, grade, template等
    private String status;  // PENDING, PROCESSING, COMPLETED, FAILED
    private Integer retryCount;
    private String errorMessage;
    private LocalDateTime createdAt;
    private LocalDateTime startedAt;
    private LocalDateTime completedAt;
}
